#include<stdio.h>
#include<string.h>
#include<unistd.h>



int main()
{
  const char* fstr = "fwrite!";
  const char* str = "write!";

  printf("printf!\n");
  sleep(2);
  fprintf(stdout, "fprintf!\n");
  sleep(2);
  fwrite(fstr, strlen(fstr), 1, stdout);
  sleep(2);

  //close(1);

  write(1, str, strlen(str));

  sleep(5);


  fork();

  return 0;
}
